#ifndef _FIG_UI_GENERALINFO_H_
#define _FIG_UI_GENERALINFO_H_

#include "fig_ui_popupmanager.h"


class FIGUIGeneralInfo : public FIGUIPopupAnimator
{
public:
	
	FIGUIGeneralInfo(const std::string& File);
	

// MAIN MENU events

	virtual void					Show();
	virtual void					Hide();
	virtual void					Tick(float dt);

	void							ShowThis(const std::string& Text,float Delay);

protected:

	void DELEGATE_CALL				OnClickScreen(ui::UIWidget::WIDGET_EVENT Event, ui::UIWidget* pWidget);


	math::Counter					m_AlphaCounter;
	ui::UIWidget*					m_pUIInfoTxt;
	float							m_Delay;


};


#endif //_FIG_UI_GENERALINFO_H_